'use strict'

let dl=document.getElementById('drink-menu')
let ad='<font color="red">垃圾君</font>';
let dts=document.getElementsByTagName('dd')

let nn = document.getElementById('nn')
let coloraar = ['rad','green','blue','yellow','black','pink','orange']
for(let i = 1 ; i <= 100 ; i++){
    let p = document.createElement('p')
    p.innerText = i;
    let rndindex = parseInt(Math.random() * coloraar.length) + 1
    console.log(rndindex);
    p.style.backgroundColor = coloraar[rndindex]
    p.id = `p${i}`
    nn.appendChild(p);
}
